﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AP.Framework.Infrastructure.Repositories.IRepositories;
using AP.Framework.Infrastructure.Entities;
namespace AP.Web.Controllers
{
    public class HomeController : Controller
    {

        IParam _param;
        public HomeController(IParam param)
        {
            _param = param;
        }
        public ActionResult Index()
        {
            //sys_Param model = _param.GetAll().SingleOrDefault();
            //if (model != null)
            //{
            //    Session["SiteName"] = model.SiteName;
            //    Session["CompanyName"] = model.CompanyName;
            //    Session["CompanyLog"] = model.CompanyLog;
            //    Session["CopyRight"] = model.CopyRight;
            //}
            return View();
        }

        public ActionResult About()
        {
            return View();
        }

    }
}
